home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / PowerMacOberon feb96 / Text / Backup.Tool (.txt) < prev    next >
Encoding:
Oberon Text  |  1995-08-23  |  682 b   |  15 lines  |  [TEXT/.Ob4]

  1. Syntax10b.Scn.Fnt
  2. Syntax10.Scn.Fnt
  3. Backup.WriteFiles ^
  4. SourceVolume:MyDir1:    DestVolume:MyDir1:
  5. SourceVolume:MyDir2:    DestVolume:MyDir2: ~
  6. ---------------------------------------
  7. Backup does an incremental backup between two directories,
  8. i.e. only the files that have changed since the last backup are copied.
  9.     Backup.WriteFiles ( {src  dst} ~ | "^")
  10. src and dst are given as Macintosh path names starting
  11. with the volume name and ending with ":". If a path name contains
  12. blanks it must be written under quotes.
  13.     All files and directories that are in dst but not in src are deleted
  14. in dst so that after the backup the contents of src is the contents of dst.
  15.